home *** CD-ROM | disk | FTP | other *** search
/ c't freeware shareware 1998 January / CT_SW9801.ISO / pc / software / emulator / xserver / mixppc.bin / MI_X (PPC) / README < prev    next >
Text File  |  1997-01-30  |  3KB  |  47 lines

  1. Using MI/X and your Mac as an X terminal
  2.  
  3.     In order to connect your Macintosh as an X terminal to another machine, 
  4. you will need to take a few preliminary steps. 
  5.     1) Lanuch MI/X
  6.     2) Select File / Preferences... from the menubar.
  7.     3) Select Hosts and select "Allow All" or "Allow Listed" accordingly.
  8.             If you want to restrict access to your Machine, and still use it as an X terminal,
  9.             select "Allow Listed" and add your host's name to the list by clicking the "Add"
  10.             button.
  11.     These steps will allow the connection of X traffic to your Macintosh. Now, in order
  12. to launch X programs, you will need to use a telnet session. By telneting to your host,
  13. you may tell your host where to send its output by executing the UNIX command
  14.         
  15.             setenv DISPLAY your.Mac's.IP.number:0.0
  16.  
  17. Of course you will need to replace the text "your.Mac's.IP.number" with the actual
  18. IP number of your Mac. Your machine's name may also work: 
  19. for instance if your machine's name is "mars" and its IP number is 109.122.122.1 you could type:
  20.  
  21.             setenv DISPLAY mars:0.0
  22.  
  23. or failing that
  24.  
  25.             setenv DISPLAY 109.122.122.1:0.0
  26.  
  27.     In the event that your host gives you an error saying "can't open host xxx.xxx.xxx.xxx"
  28. and you have tried both of the setenv commands above, make sure that you have set up
  29. MI/X to allow remote clients as outlined at the top of this document. If you are allowing connections from remote servers, you may also use the UNIX command line to tell a particular X program where to send its output, instead of using the setenv command as above. This is done by passing the -d option. For instance you may execute xclock in the background on your remote host and have the output sent to your Mac by typing:
  30.  
  31.         xclock -d 109.122.122.1:0.0 &
  32.  
  33.     If none of the above methods work, check with your system administrator and make
  34. sure that your remote host is allowing X traffic over the network.
  35.  
  36.  
  37. Configuring your session
  38.  
  39.     You may choose to use the same twm configurations when using MI/X on your Mac
  40. that you use on your UNIX host. By default, MI/X will run its own twm, which
  41. does not take configuarations from a .twmrc file as does twm on UNIX. However, you can 
  42. tell MI/X to use a window manager such as twm on the remote host. This is done by 
  43. selecting File / Preferences... and selecting the "Preferences" icon on the left. Deselect
  44. the checkbox saying "Use local window manager (twm)." You then will need to use telnet
  45. to execute your window manager on your remote host after specifying the DISPLAY
  46. environment variable or use the -d option on the command line itself.
  47.